UIAttributes Class Reference

Inheritance diagram for UIAttributes:
Inheritance graph
[legend]
Collaboration diagram for UIAttributes:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 UIAttributes (UTF8StringPtr *attributes=0)
 ~UIAttributes ()
bool hasAttribute (UTF8StringPtr name) const
const std::string * getAttributeValue (UTF8StringPtr name) const
void setAttribute (UTF8StringPtr name, UTF8StringPtr value)
void removeAttribute (UTF8StringPtr name)
void setBooleanAttribute (UTF8StringPtr name, bool value)
bool getBooleanAttribute (UTF8StringPtr name, bool &value) const
void setIntegerAttribute (UTF8StringPtr name, int32_t value)
bool getIntegerAttribute (UTF8StringPtr name, int32_t &value) const
void setDoubleAttribute (UTF8StringPtr name, double value)
bool getDoubleAttribute (UTF8StringPtr name, double &value) const
void setPointAttribute (UTF8StringPtr name, const CPoint &p)
bool getPointAttribute (UTF8StringPtr name, CPoint &p) const
void setRectAttribute (UTF8StringPtr name, const CRect &r)
bool getRectAttribute (UTF8StringPtr name, CRect &r) const
void setAttributeArray (UTF8StringPtr name, const std::vector< std::string > &values)
bool getAttributeArray (UTF8StringPtr name, std::vector< std::string > &values) const
void removeAll ()
bool store (OutputStream &stream)
bool restore (InputStream &stream)
Reference Counting Methods



virtual void forget ()
 decrease refcount and delete object if refcount == 0
virtual void remember ()
 increase refcount
virtual int32_t getNbReference () const
 get refcount
Message Methods



virtual CMessageResult notify (CBaseObject *sender, IdStringPtr message)

Constructor & Destructor Documentation

UIAttributes ( UTF8StringPtr attributes = 0  ) 
~UIAttributes (  ) 

Member Function Documentation

virtual void forget (  )  [inline, virtual, inherited]

decrease refcount and delete object if refcount == 0

bool getAttributeArray ( UTF8StringPtr  name,
std::vector< std::string > &  values 
) const
const std::string * getAttributeValue ( UTF8StringPtr  name  )  const
bool getBooleanAttribute ( UTF8StringPtr  name,
bool &  value 
) const
bool getDoubleAttribute ( UTF8StringPtr  name,
double &  value 
) const
bool getIntegerAttribute ( UTF8StringPtr  name,
int32_t &  value 
) const
virtual int32_t getNbReference (  )  const [inline, virtual, inherited]

get refcount

bool getPointAttribute ( UTF8StringPtr  name,
CPoint p 
) const
bool getRectAttribute ( UTF8StringPtr  name,
CRect r 
) const
bool hasAttribute ( UTF8StringPtr  name  )  const
virtual CMessageResult notify ( CBaseObject sender,
IdStringPtr  message 
) [inline, virtual, inherited]
virtual void remember (  )  [inline, virtual, inherited]

increase refcount

void removeAll (  )  [inline]
void removeAttribute ( UTF8StringPtr  name  ) 
bool restore ( InputStream stream  ) 
void setAttribute ( UTF8StringPtr  name,
UTF8StringPtr  value 
)
void setAttributeArray ( UTF8StringPtr  name,
const std::vector< std::string > &  values 
)
void setBooleanAttribute ( UTF8StringPtr  name,
bool  value 
)
void setDoubleAttribute ( UTF8StringPtr  name,
double  value 
)
void setIntegerAttribute ( UTF8StringPtr  name,
int32_t  value 
)
void setPointAttribute ( UTF8StringPtr  name,
const CPoint p 
)
void setRectAttribute ( UTF8StringPtr  name,
const CRect r 
)
bool store ( OutputStream stream  ) 

The documentation for this class was generated from the following files:

Generated on Fri Nov 22 11:10:00 2013 for VSTGUI by  doxygen 1.6.1